From 1389e17bfc9ded1ad3ab462d6335909256e8e2fe Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 8 Feb 2006 19:55:47 +0000 Subject: [PATCH] several webif cleanups and some added helptext (TODO: add french versions) SVN-Revision: 3192 --- .../webif/files/usr/lib/webif/form.awk | 6 +- .../files/usr/lib/webif/lang/de/common.txt | 101 ++++++++++++------ .../files/usr/lib/webif/lang/es/common.txt | 44 +++++++- .../files/usr/lib/webif/lang/fr/common.txt | 47 +++++++- .../webif/files/usr/lib/webif/webif.sh | 2 +- .../webif/files/www/cgi-bin/webif/ipkg.sh | 2 +- .../webif/files/www/cgi-bin/webif/lan.sh | 4 +- .../webif/files/www/cgi-bin/webif/password.sh | 4 +- .../webif/files/www/cgi-bin/webif/upgrade.sh | 2 +- .../webif/files/www/cgi-bin/webif/wan.sh | 84 ++++++++------- .../www/cgi-bin/webif/wireless-config.sh | 13 ++- 11 files changed, 219 insertions(+), 90 deletions(-) diff --git a/openwrt/package/webif/files/usr/lib/webif/form.awk b/openwrt/package/webif/files/usr/lib/webif/form.awk index a35a48a31d..89530aef32 100644 --- a/openwrt/package/webif/files/usr/lib/webif/form.awk +++ b/openwrt/package/webif/files/usr/lib/webif/form.awk @@ -74,15 +74,15 @@ $1 ~ /^select/ { for (i = 1; i <= n; i++) { if (items[i] != "") print "" items[i] " @TR<>" } - print ">\" />" + print ">\" />" } $1 ~ /^caption/ { print "" $2 "" } $1 ~ /^string/ { print $2 } $1 ~ /^text/ { print "" $4 } $1 ~ /^password/ { print "" $4 } $1 ~ /^submit/ { print "" } -$1 ~ /^helpitem/ { form_help = form_help "
" $2 ":
" } -$1 ~ /^helptext/ { form_help = form_help "
" $2 "
" } +$1 ~ /^helpitem/ { form_help = form_help "
@TR<<" $2 ">>:
" } +$1 ~ /^helptext/ { form_help = form_help "
@TR<<" $2 ">>
" } $1 ~ /^helplink/ { form_help_link = "
@TR<>
" } ($1 ~ /^checkbox/) || ($1 ~ /^radio/) { diff --git a/openwrt/package/webif/files/usr/lib/webif/lang/de/common.txt b/openwrt/package/webif/files/usr/lib/webif/lang/de/common.txt index 914f1e49e5..b860b51562 100644 --- a/openwrt/package/webif/files/usr/lib/webif/lang/de/common.txt +++ b/openwrt/package/webif/files/usr/lib/webif/lang/de/common.txt @@ -3,7 +3,7 @@ lang => Deutsch Settings saved => Einstellungen gespeichert Settings not saved => Einstellungen nicht gespeichert Save Changes => Speichern -Apply Changes => Übernehmen +Apply Changes => Übernehmen Clear Changes => Verwerfen Review Changes => Anzeigen Host Name => Hostname @@ -12,15 +12,15 @@ Load => Systemlast Version => Version Categories => Kategorien Subcategories => Unterkategorien -more... => mehr... -Add => Hinzufügen +more... => Weitere Informationen... +Add => Hinzufügen Remove => Entfernen Warning => Warnung -Password_warning => es wurde noch kein Passwort für Web-Administration und SSH gesetzt.
Bitte geben Sie jetzt ein neues Passwort ein (Benutzername im Browser: 'root'). +Password_warning => es wurde noch kein Passwort für Web-Administration und SSH gesetzt.
Bitte geben Sie jetzt ein neues Passwort ein (Benutzername im Browser: 'root'). # Categories Info => Info -About => Über +About => Über Router Info => Routerinformationen Status => Status @@ -45,15 +45,15 @@ Hosts => Host-Konfiguration # 'About' page Copyright => Copyright -GPL_Text => Dieses Programm ist freie Software. Sie können es unter den Bedingungen der GNU General Public License,
wie von der Free Software Foundation veröffentlicht, weitergeben und/oder modifizieren,
entweder gemäß Version 2 der Lizenz oder (nach Ihrer Option) jeder späteren Version. -Contributions by => Mit Beiträgen von +GPL_Text => Dieses Programm ist freie Software. Sie können es unter den Bedingungen der GNU General Public License,
wie von der Free Software Foundation veröffentlicht, weitergeben und/oder modifizieren,
entweder gemäß Version 2 der Lizenz oder (nach Ihrer Option) jeder späteren Version. +Contributions by => Mit Beiträgen von Layout based on => Layout basiert auf by => von -No config change. => Es wurden keine Konfigurationsänderungen vorgenommen. -Config discarded. => Ihre Konfigurationsänderungen wurden verworfen. -Config changes: => Aktuelle Konfigurationsänderungen: +No config change. => Es wurden keine Konfigurationsänderungen vorgenommen. +Config discarded. => Ihre Konfigurationsänderungen wurden verworfen. +Config changes: => Aktuelle Konfigurationsänderungen: Updating config... => Aktualisiere die Konfiguration... @@ -74,16 +74,16 @@ Router Connections => Netzwerkverbindungen auf dem Router DHCP leases => DHCP-Leases IP Address => IP-Adresse Name => Name -Expires in => Gültigkeitsdauer +Expires in => Gültigkeitsdauer # 'Wireless Status' page Wireless Status => WLAN-Status # 'Password' page -Password Change => Passwortänderung +Password Change => Passwort ändern New Password => Neues Passwort -Confirm Password => Passwort bestätigen +Confirm Password => Passwort bestätigen # 'System Settings' page System Settings => Systemeinstellungen @@ -102,10 +102,10 @@ Firmware format => Firmware-Format converting... => konvertiere... Error => Fehler done => fertig -Invalid_format => Das Dateiformat der Firmware ist ungültig -Open_failed => Konnte die Firmwaredatei nicht öffnen -Erase_JFFS2 => JFFS2-Partition löschen -Erase NVRAM => NVRAM löschen +Invalid_format => Das Dateiformat der Firmware ist ungültig +Open_failed => Konnte die Firmwaredatei nicht öffnen +Erase_JFFS2 => JFFS2-Partition löschen +Erase NVRAM => NVRAM löschen Options => Optionen Firmware_image => Firmware-Datei: Upgrade => Aktualisieren @@ -120,7 +120,6 @@ DNS Servers => DNS-Server DNS Address => DNS-Serveradresse Note => Hinweis -Helptext DNS save => Sie müssen Ihre Änderungen an dieser Seite speichern, bevor Sie DNS-Server hinzufügen oder entfernen # 'WAN Settings' page @@ -136,18 +135,18 @@ PPP Settings => PPP-Einstellungen Redial Policy => Verbindungsaufbau Connect on Demand => Bei Bedarf Keep Alive => Verbindung aufrechterhalten -Maximum Idle Time => Maximale Wartezeit bei Inaktivität +Maximum Idle Time => Wartezeit bei Inaktivität Redial Timeout => Wartezeit bei unterbrochener Verbindung -MTU => Maximale Paketgröße +MTU => Maximale Paketgröße Username => Benutzername # 'Wireless Configuration' page Wireless Configuration => WLAN-Konfiguration Wireless Interface => WLAN-Interface -WEP Key => WEP-Schlüssel -Selected WEP Key => Ausgewählter WEP Schlüssel -WPA PSK => WPA-Schlüssel +WEP Key => WEP-Schlüssel +Selected WEP Key => Ausgewählter WEP Schlüssel +WPA PSK => WPA-Schlüssel ESSID => ESSID Channel => Kanal RADIUS IP Address => RADIUS-Serveradresse @@ -162,20 +161,18 @@ Access Point => Access Point Client => Client Bridge => Bridge Ad-Hoc => Ad-Hoc -Operation mode => Betriebsmodus des Funknetzwerks -Encryption Settings => Verschlüsselungseinstellungen -Encryption Type => Verschlüsselungsart +Encryption Settings => Verschlüsselungseinstellungen +Encryption Type => Verschlüsselungsart PSK => Passwort WPA Mode => WPA-Modus -WPA Algorithms => WPA-Verschlüsselungsalgorithmen -WEP Keys => WEP-Schlüssel +WPA Algorithms => WPA-Verschlüsselungsalgorithmen +WEP Keys => WEP-Schlüssel -Helptext ESSID => Name des Funknetzwerks # 'Advanced Wireless Configuration' page Advanced Wireless Configuration => WLAN-Konfiguration (erweitert) WDS Connections => WDS-Verbindungen -MAC Filter List => Zugriffsbeschränkung (MAC-Adresse) +MAC Filter List => Zugriffsbeschränkung (MAC-Adresse) Filter Mode => Filtermodus Allow => Erlauben Deny => Verweigern @@ -187,5 +184,45 @@ Automatic WDS => Automatische WDS-Verbindung MAC Address => MAC-Adresse Configured Hosts => Konfigurierte Hosts -DHCP Static => Statische DHCP-Einträge -Host Names => Host-Einträge +DHCP Static => Statische DHCP-Einträge +Host Names => Host-Einträge + + +Up => Hoch +Down => Runter +Edit => Bearbeiten +Delete => Löschen +Save => Speichern +Cancel => Abbrechen + +Forward => Weiterleiten +Accept => Zulassen +Drop => Verweigern + +Firewall => Firewall +Firewall Rules => Firewall-Regeln +Firewall Configuration => Firewall-Konfiguration + +New Rule => Neue Regel +Match => Filter +Target => Ziel +Port => Port + +Protocol => Protokoll +Source IP => Quell-IP +Destination IP => Ziel-IP +Source Ports => Quell-Ports +Destination Ports => Ziel-Ports + +Forward to => Weiterleiten an +Port => Port + +Helptext ESSID => Name des Funknetzwerks +Helptext DNS save => Sie müssen Ihre Änderungen an dieser Seite speichern, bevor Sie DNS-Server hinzufügen oder entfernen + +Helptext Operation mode => Setzt den Betriebsmodus für das WLAN-Interface. Die Einstellung 'Client (Bridge)' ändert nichts an den eigentlichen Netzwerkeinstellungen, es ändert lediglich einige Parameter im WLAN-Treiber, damit man das Interface eingeschränkt in einer Bridge verwenden kann. +Helptext Encryption Type => 'WPA (RADIUS)' wird nur im Access-Point-Modus unterstützt.
'WPA (PSK)' funktioniert nicht im Ad-Hoc-Modus. +Helptext IP Settings => IP-Einstellungen sind optional für DHCP und PPTP. Wenn sie gesetzt sind, werden sie als Standardwerte verwendet, falls kein DHCP-Server erreichbar ist. +Helptext Idle Time => Wartezeit in Sekunden, nach der bei Inaktivität die Internetverbindung getrennt wird. +Helptext Redial Timeout => Maximale Zeit, die der Router auf Antwort vom Provider warten soll, bevor die Verbindung neu aufgebaut wird. + diff --git a/openwrt/package/webif/files/usr/lib/webif/lang/es/common.txt b/openwrt/package/webif/files/usr/lib/webif/lang/es/common.txt index c79efe9aa4..77ba214944 100644 --- a/openwrt/package/webif/files/usr/lib/webif/lang/es/common.txt +++ b/openwrt/package/webif/files/usr/lib/webif/lang/es/common.txt @@ -118,8 +118,6 @@ DNS Servers => Servidor DNS DNS Address => Dirección IP del DNS Note => Nota -Helptext DNS save => Es recomendable guardar los cambios antes de añadir o eliminar servidores de DNS de la lista - # 'WAN Settings' page WAN Settings => Configuración de Internet @@ -168,8 +166,6 @@ WPA Mode => Modo WPA WPA Algorithms => Algoritmos WPA WEP Keys => Clave WEP -Helptext ESSID => SSID - # 'Advanced Wireless Configuration' page Advanced Wireless Configuration => Configuración Wi-Fi avanzada WDS Connections => Conexiones WDS @@ -187,3 +183,43 @@ MAC Address => Dirección MAC Configured Hosts => Equipos configurados DHCP Static => Entradas DHCP estáticas Host Names => Nombre de los equipos + +Up => Activo +Down => Caído +Edit => Editar +Delete => Borrar +Save => Guardar +Cancel => Cancelar + +Forward => Redirigir +Accept => Aceptar +Drop => Descartar + +Firewall => Firewall +Firewall Rules => Reglas del Firewall +Firewall Configuration => Configuración del Firewall + +New Rule => Nueva regla +Match => +Target => Acción +Port => Puerto + +Protocol => Protocolo +Source IP => IP origen +Destination IP => IP destino +Source Ports => Puertos origen +Destination Ports => Puertos destino + +Forward to => Redirigir a +Port => Puerto + +Helptext ESSID => SSID +Helptext DNS save => Es recomendable guardar los cambios antes de añadir o eliminar servidores de DNS de la lista + +Helptext Operation mode => Establece el modo de operación de tu red wireless. Eligiendo 'Client (bridge)' no cambiará la configuración de la interfaz de red. Simplemente añadirá unos parámetros que permitirán que la interfaz wireless actúe en cierta medida en modo bridge. +Helptext Encryption Type => 'WPA (RADIUS)' sólo puede usarse en modo Punto de Acceso.
'WPA (PSK)' no funciona en modo Ad-Hoc. +Helptext IP Settings => Las opciones IP son opcionales para DHCP y PPTP. Si las eliges, se utilizarán por defecto en caso de que la configuración automática falle. +Helptext Idle Time => Número de segundos sin actividad con Internet que debe esperar el router antes de desconectarse. (Sólo para el modo Bajo Demanda). +Helptext Redial Timeout => Número de segundos sin recibir respuesta del servidor que debe esperar el router para volver a conectarse. + + diff --git a/openwrt/package/webif/files/usr/lib/webif/lang/fr/common.txt b/openwrt/package/webif/files/usr/lib/webif/lang/fr/common.txt index 35ee2f778e..e577fc9764 100644 --- a/openwrt/package/webif/files/usr/lib/webif/lang/fr/common.txt +++ b/openwrt/package/webif/files/usr/lib/webif/lang/fr/common.txt @@ -124,7 +124,6 @@ DNS Servers => Serveur DNS DNS Address => Addresse DNS Note => Note -Helptext DNS save => Il est recommandé de sauvegarder vos paramètres avant d'ajouter/enlever des serveurs DNS # 'WAN Settings' page @@ -166,7 +165,6 @@ Access Point => Point d'accès Client => Client Bridge => Pont-réseau Ad-Hoc => Ad-Hoc -Operation mode => Mode de fonctionnement Encryption Settings => Paramètres de chiffrement Encryption Type => Type de chiffrement PSK => Clé pré-partagée @@ -174,7 +172,6 @@ WPA Mode => Mode WPA WPA Algorithms => Algorithmes WPA WEP Keys => Clés WEP -Helptext ESSID => Nom du réseau sans-fil # 'Advanced Wireless Configuration' page Advanced Wireless Configuration => Configuration Wi-Fi avancée @@ -193,3 +190,47 @@ MAC Address => Adresse MAC Configured Hosts => Hôtes configurés DHCP Static => Entrées DHCP statiques Host Names => Noms d'hôtes + +# Untranslated +# Up => +# Down => +# Edit => +# Delete => +# Save => +# Cancel => + +# Forward => +# Accept => +# Drop => + +# Firewall => +# Firewall Rules => +# Firewall Configuration => + +# New Rule => +# Match => +# Target => +# Port => + +# Protocol => +# Source IP => +# Destination IP => +# Source Ports => +# Destination Ports => + +# Forward to => +# Port => + + +Helptext ESSID => Nom du réseau sans-fil +Helptext DNS save => Il est recommandé de sauvegarder vos paramètres avant d'ajouter/enlever des serveurs DNS + + +# Untranslated +# Helptext Operation mode => This sets the operation mode of your wireless network. Selecting 'Client (Bridge)' will not change your network interface settings. It will only set some parameters in the wireless driver that allow for limited bridging of the interface. +# Helptext Encryption Type => 'WPA (RADIUS)' is only supported in Access Point mode.
'WPA (PSK)' doesn't work in Ad-Hoc mode. +# Helptext IP Settings => IP Settings are optional for DHCP and PPTP. If you set them, they are used as defaults in case the DHCP server is unavailable. +# Helptext Idle Time => The number of seconds without internet traffic that the router should wait before disconnecting from the Internet (Connect on Demand only) +# Helptext Redial Timeout => The number of seconds to wait after receiving no response from the provider before trying to reconnect + + diff --git a/openwrt/package/webif/files/usr/lib/webif/webif.sh b/openwrt/package/webif/files/usr/lib/webif/webif.sh index 4894954f37..f42ab17929 100644 --- a/openwrt/package/webif/files/usr/lib/webif/webif.sh +++ b/openwrt/package/webif/files/usr/lib/webif/webif.sh @@ -67,7 +67,7 @@ header() { _version=$( grep "(" /etc/banner ) _version="${_version%% ---*}" _head="${3:+

$3$_saved_title

}" - _form="${5:+
}" + _form="${5:+}" _savebutton="${5:+

>\" />

}" _categories=$(categories $1) _subcategories=${2:+$(subcategories "$1" "$2")} diff --git a/openwrt/package/webif/files/www/cgi-bin/webif/ipkg.sh b/openwrt/package/webif/files/www/cgi-bin/webif/ipkg.sh index 620b9424ff..20bd9d5a5c 100755 --- a/openwrt/package/webif/files/www/cgi-bin/webif/ipkg.sh +++ b/openwrt/package/webif/files/www/cgi-bin/webif/ipkg.sh @@ -51,5 +51,5 @@ $1 ~ /status/ { diff --git a/openwrt/package/webif/files/www/cgi-bin/webif/lan.sh b/openwrt/package/webif/files/www/cgi-bin/webif/lan.sh index 3ac9a1545e..3ed6a52b11 100755 --- a/openwrt/package/webif/files/www/cgi-bin/webif/lan.sh +++ b/openwrt/package/webif/files/www/cgi-bin/webif/lan.sh @@ -42,8 +42,8 @@ text|lan_gateway|$FORM_lan_gateway end_form start_form|@TR<> listedit|dns|$SCRIPT_NAME?|$FORM_dns|$FORM_dnsadd -helpitem|@TR<> -helptext|@TR<> +helpitem|Note +helptext|Helptext DNS save#You need save your settings on this page before adding/removing DNS servers end_form EOF diff --git a/openwrt/package/webif/files/www/cgi-bin/webif/password.sh b/openwrt/package/webif/files/www/cgi-bin/webif/password.sh index 598964ff3f..f8618d8ab8 100755 --- a/openwrt/package/webif/files/www/cgi-bin/webif/password.sh +++ b/openwrt/package/webif/files/www/cgi-bin/webif/password.sh @@ -22,7 +22,7 @@ EOF } } -header "System" "Password" "@TR<>" '' "$SCRIPT_NAME" +header "System" "Password Change" "@TR<>" '' "$SCRIPT_NAME" display_form <> @@ -36,5 +36,5 @@ EOF footer ?> diff --git a/openwrt/package/webif/files/www/cgi-bin/webif/upgrade.sh b/openwrt/package/webif/files/www/cgi-bin/webif/upgrade.sh index 0715daa4ca..f5a2f1ae70 100755 --- a/openwrt/package/webif/files/www/cgi-bin/webif/upgrade.sh +++ b/openwrt/package/webif/files/www/cgi-bin/webif/upgrade.sh @@ -75,5 +75,5 @@ empty "$FORM_submit" || empty "$FORM_firmware" || { diff --git a/openwrt/package/webif/files/www/cgi-bin/webif/wan.sh b/openwrt/package/webif/files/www/cgi-bin/webif/wan.sh index 5359b04b33..e172c56eaa 100755 --- a/openwrt/package/webif/files/www/cgi-bin/webif/wan.sh +++ b/openwrt/package/webif/files/www/cgi-bin/webif/wan.sh @@ -117,12 +117,12 @@ fi # detect pptp package and compile option [ -x /sbin/ifup.pptp ] && { - PPTP_OPTION="radio|wan_proto|$FORM_wan_proto|pptp|PPTP
" - PPTP_SERVER_OPTION="field|PPTP Server IP|pptp_server_ip|hidden + PPTP_OPTION="option|pptp|PPTP" + PPTP_SERVER_OPTION="field|PPTP Server IP|pptp_server|hidden text|pptp_server_ip|$FORM_pptp_server_ip" } [ -x /sbin/ifup.pppoe ] && { - PPPOE_OPTION="radio|wan_proto|$FORM_wan_proto|pppoe|PPPoE
" + PPPOE_OPTION="option|pppoe|PPPoE" } @@ -135,26 +135,29 @@ cat < @@ -164,42 +167,49 @@ display_form <> field|@TR<> -radio|wan_proto|$FORM_wan_proto|none|@TR<>
-radio|wan_proto|$FORM_wan_proto|dhcp|@TR<>
-radio|wan_proto|$FORM_wan_proto|static|@TR<>
+select|wan_proto|$FORM_wan_proto +option|none|@TR<> +option|dhcp|@TR<> +option|static|@TR<> $PPPOE_OPTION $PPTP_OPTION +helplink|http://wiki.openwrt.org/OpenWrtDocs/Configuration#head-b62c144b9886b221e0c4b870edb0dd23a7b6acab end_form -tatus start_form|@TR<>|ip_settings|hidden -field|@TR<>|wan_ipaddr|hidden +field|@TR<>|ipaddr|hidden text|wan_ipaddr|$FORM_wan_ipaddr -field|@TR<>|wan_netmask|hidden +field|@TR<>|netmask|hidden text|wan_netmask|$FORM_wan_netmask -field|@TR<>|wan_gateway|hidden +field|@TR<>|gateway|hidden text|wan_gateway|$FORM_wan_gateway $PPTP_SERVER_OPTION +helpitem|IP Settings +helptext|Helptext IP Settings#IP Settings are optional for DHCP and PPTP. If you set them, they are used as defaults in case the DHCP server is unavailable. end_form - -start_form|@TR<>|wan_dns|hidden +start_form|@TR<>|dns|hidden listedit|dns|$SCRIPT_NAME?wan_proto=static&|$FORM_dns|$FORM_dnsadd -helpitem|@TR<> -helptext|@TR<> +helpitem|Note +helptext|Helptext DNS save#You should save your settings on this page before adding/removing DNS servers end_form start_form|@TR<>|ppp_settings|hidden -field|@TR<>|ppp_redial|hidden -radio|ppp_redial|$FORM_ppp_redial|demand|@TR<>
-radio|ppp_redial|$FORM_ppp_redial|persist|@TR<> -field|@TR<>|ppp_demand_idletime|hidden +field|@TR<>|redial|hidden +select|ppp_redial|$FORM_ppp_redial +option|demand|@TR<> +option|persist|@TR<> +field|@TR<>|demand_idletime|hidden text|ppp_idletime|$FORM_ppp_idletime -field|@TR<>|ppp_persist_redialperiod|hidden +helpitem|Maximum Idle Time +helptext|Helptext Idle Time#The number of seconds without internet traffic that the router should wait before disconnecting from the Internet (Connect on Demand only) +field|@TR<>|persist_redialperiod|hidden text|ppp_redialperiod|$FORM_ppp_redialperiod -field|@TR<>|ppp_username|hidden +helpitem|Redial Timeout +helptext|Helptext Redial Timeout#The number of seconds to wait after receiving no response from the provider before trying to reconnect +field|@TR<>|username|hidden text|ppp_username|$FORM_ppp_username -field|@TR<>|ppp_passwd|hidden +field|@TR<>|passwd|hidden password|ppp_passwd|$FORM_ppp_passwd -field|@TR<>|ppp_mtu|hidden +field|@TR<>|mtu|hidden text|ppp_mtu|$FORM_ppp_mtu end_form EOF diff --git a/openwrt/package/webif/files/www/cgi-bin/webif/wireless-config.sh b/openwrt/package/webif/files/www/cgi-bin/webif/wireless-config.sh index f069b74f1e..e85fb4d3a5 100755 --- a/openwrt/package/webif/files/www/cgi-bin/webif/wireless-config.sh +++ b/openwrt/package/webif/files/www/cgi-bin/webif/wireless-config.sh @@ -81,6 +81,9 @@ if empty "$FORM_submit"; then FORM_aes=aes FORM_tkip=tkip ;; + *) + FORM_tkip=tkip + ;; esac equal "$FORM_encryption" "off" && { wep=${wl0_wep:-$(nvram get wl0_wep)} @@ -233,8 +236,8 @@ option|0|@TR<> option|1|@TR<> field|@TR<> text|ssid|$FORM_ssid -helpitem|@TR<> -helptext|@TR<> +helpitem|ESSID +helptext|Helptext ESSID#Name of your Wireless Network field|@TR<> select|channel|$FORM_channel $F_CHANNELS @@ -244,8 +247,8 @@ option|ap|@TR<> option|sta|@TR<> option|wet|@TR<> (@TR<>) option|adhoc|@TR<> -helpitem|@TR<> -helptext|@TR<> +helpitem|WLAN Mode#Mode +helptext|Helptext Operation mode#This sets the operation mode of your wireless network. Selecting 'Client (Bridge)' will not change your network interface settings. It will only set some parameters in the wireless driver that allow for limited bridging of the interface. helplink|http://wiki.openwrt.org/OpenWrtDocs/Configuration#head-7126c5958e237d603674b3a9739c9d23bdfdb293 end_form start_form|@TR<> @@ -255,6 +258,8 @@ option|off|@TR<> option|wep|WEP option|psk|WPA (@TR<>) option|wpa|WPA (RADIUS) +helpitem|Encryption Type +helptext|Helptext Encryption Type#'WPA (RADIUS)' is only supported in Access Point mode.
'WPA (PSK)' doesn't work in Ad-Hoc mode. field|@TR<>|wpa_support|hidden checkbox|wpa1|$FORM_wpa1|wpa1|WPA1 checkbox|wpa2|$FORM_wpa2|wpa2|WPA2 -- 2.30.2